'use strict';

function average_to_letter(collection) {
    let average = collection.reduce((sum,value)=>(sum+value))/collection.length ;
    return String.fromCharCode(Math.ceil(average) + 96) ;
}

module.exports = average_to_letter;

